projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68fc7d8
)
(thai-pre-write-conversion): Make it work
author
Kenichi Handa
<handa@m17n.org>
Mon, 12 May 1997 07:00:25 +0000
(07:00 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 12 May 1997 07:00:25 +0000
(07:00 +0000)
for the case the arg FROM is a string.
lisp/language/thai-util.el
patch
|
blob
|
history
diff --git
a/lisp/language/thai-util.el
b/lisp/language/thai-util.el
index a97fad0ae7c3feaffdfcbf86419e1cb2a98542ac..334f7e41386418d24b4b03344ac8a1e199abc0b9 100644
(file)
--- a/
lisp/language/thai-util.el
+++ b/
lisp/language/thai-util.el
@@
-164,8
+164,12
@@
positions (integers or markers) specifying the region."
(work-buf (get-buffer-create " *thai-work*")))
(set-buffer work-buf)
(erase-buffer)
- (insert-buffer-substring old-buf from to)
- (decompose-region (point-min) (point-max))))
+ (if (stringp from)
+ (insert from)
+ (insert-buffer-substring old-buf from to))
+ (decompose-region (point-min) (point-max))
+ ;; Should return nil as annotations.
+ nil))
;;
(provide 'language/thai-util)